<?php

namespace app\index\model;

use traits\think\Instance;

/**
 * member类
 * @author      lixin
 * @version     1.0 版本号
 */
class Member extends BaseModel
{
    use Instance;
    protected $autoWriteTimestamp = true;
    public $pk = 'member_id';

    protected static function init()
    {
        parent::init();
    }

    public function reflect()
    {
        return $this->hasMany('Reflect', 'member_id', 'id');
    }

}
